package com.qf.service;

import com.qf.pojo.Test;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient("hospital-patient")
public interface TestPatientService {
    @RequestMapping(value = "/patient",method = RequestMethod.GET)
    public List<Test> patient();
}
